/**
 * TTController.java
 * com.zhutf.RentalCar.Controller.web.test
 *
 *
 *   ver     date      		author
 *   		 Aug 8, 2012 4:32:02 PM 	tengfei.zhu
 *
 * Copyright (c) 2012, TNT All Rights Reserved.
 */
package com.maisha.Controller.web;

import java.sql.SQLException;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.maisha.base.dao.BaseDao;

@Controller(value="tTController")
@RequestMapping(value="web")
public class  MsIndex{

	@Resource
	private BaseDao baseDao;
	
	@RequestMapping(value="index")
	public ModelAndView getResult(HttpServletRequest request, HttpServletResponse response) throws SQLException{
		ModelAndView mv = new ModelAndView();
		mv.setViewName("jsp/web/index");
		return mv;
	}
	
}
